package org.freedom.fastdevpt.gos.accounts.pojo;

import java.time.LocalDateTime;

import org.freedom.fastdevpt.core.base.BaseEntity;
import org.freedom.fastdevpt.gos.employee.pojo.Employee;

public class Account extends BaseEntity {
	private Integer a_id;
	private String a_login;
	private String a_pwd;
	private String status;

	private Employee emp;

	public Account() {
		super();
	}

	public Account(Integer a_id, String a_login, String a_pwd, String status, long createtime, LocalDateTime lastmodify,
			int version, Employee emp) {
		super(createtime, lastmodify, version);
		this.a_id = a_id;
		this.a_login = a_login;
		this.a_pwd = a_pwd;
		this.status = status;
		this.emp = emp;
	}

	public Employee getEmp() {
		return emp;
	}

	public void setEmp(Employee emp) {
		this.emp = emp;
	}

	public Integer getA_id() {
		return a_id;
	}

	public void setA_id(Integer a_id) {
		this.a_id = a_id;
	}

	public String getA_login() {
		return a_login;
	}

	public void setA_login(String a_login) {
		this.a_login = a_login;
	}

	public String getA_pwd() {
		return a_pwd;
	}

	public void setA_pwd(String a_pwd) {
		this.a_pwd = a_pwd;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
